var F=Object.defineProperty;var E=(o,e,t)=>e in o?F(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var p=(o,e,t)=>(E(o,typeof e!="symbol"?e+"":e,t),t);var u=(o,e,t)=>new Promise((l,n)=>{var m=r=>{try{i(t.next(r))}catch(a){n(a)}},s=r=>{try{i(t.throw(r))}catch(a){n(a)}},i=r=>r.done?l(r.value):Promise.resolve(r.value).then(m,s);i((t=t.apply(o,e)).next())});import{a as A,M as h}from"./MapExt-1de51b77.js";import{PageBaseGroupEdit as d}from"./PageBaseGroupEdit-287607fe.js";import{GPEAutoFullDLL as g}from"./GPEAutoFullDLL-e6a8c184.js";import{SFTable as f}from"./SFTable-39daafd0.js";import{GloComm as c}from"./GloComm-98065291.js";import{eZ as L,ad as D}from"./index-68beeb37.js";import{GPEAutoFullDDLSFTable as w}from"./GPEAutoFullDDLSFTable-0fcf1dee.js";import"./MapAttr-b9cf931d.js";import"./Events-141c34ea.js";import"./SFDBSrc-b5a81cac.js";import"./BSEntity-04e1e554.js";import"./FrmTrack-e5ed3376.js";class O extends d{constructor(){super("GPE_AutoFullDLL");p(this,"Desc1",`
  #### 帮助
  - 该SQL必须返回No,Name 两个列。
  - 支持ccbpm表达式。
  - SELECT No,Name FROM Port_Emp WHERE FK_Dept='@WebUser.DeptNo'
  #### 应用场景
   - 选择一个会议主持人，从本部门中选择。
  #### 配置图
  - ![输入图片说明](/resource/WF/Admin/FrmLogic/MapExt/AutoFullDLL/Img/AutoFullDLLSetting.png "屏幕截图.png")
  #### 效果图
  - ![输入图片说明](/resource/WF/Admin/FrmLogic/MapExt/AutoFullDLL/Img/AutoFullDLL.png "屏幕截图.png")
  `);p(this,"Desc0",`
  #### 帮助
   - 不启用，不启用过滤功能。
   - 启用过滤功能，应用SQL语句等，得到系统返回值。对数据进行过滤处理。
   - 比如，选取主讲人，选取班主任。
   - 加载的时候填充的数据.
  
  #### 效果图
  - ![输入图片说明](/resource/WF/Admin/FrmLogic/MapExt/AutoFullDLL/Img/AutoFullDLL.png "屏幕截图.png") 
  
  `);p(this,"Desc2",`
  #### 帮助
   - 绑定字典表的显示过滤.
   - 您可以维护字典表.
  
  `);this.PageTitle="设置显示过滤"}Init(){return u(this,null,function*(){this.entity=new A,this.KeyOfEn=h.DoWay,this.Btns=[{pageNo:"2",list:["字典维护"]}],yield this.entity.InitDataForMapAttr("AutoFullDLL",this.GetRequestVal("PKVal")),this.AddGroup("A","设置显示过滤"),this.Blank("0","不启用",this.Desc0),this.AddEntity("1","自定义设置",new g,this.Desc1),this.AddEntity("2","绑定字典表",new w,this.Desc2)})}AfterSave(t,l){if(t==l)throw new Error("Method not implemented.")}BtnClick(t,l,n){return u(this,null,function*(){var m;if(n=="字典属性"){const s=(m=this.entity)==null?void 0:m.Doc;if(!s){alert("请选择绑定的字典，然后执行保存按钮.");return}const i=new f(s);yield i.Retrieve();const r=i.GetParaString("EnName",""),a=c.UrlEn(r,i.No);return new L(D.OpenUrlByDrawer75,a)}if(n=="字典维护"){const s=c.UrlSearch("TS.FrmUI.SFTable");return new L(D.OpenUrlByDrawer75,s)}if(t==l||t===n)throw new Error("Method not implemented.")})}}export{O as GPE_AutoFullDLL};
